import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import { createPinia} from 'pinia'
// createApp(App).mount('#app')
const app = createApp(App)

// 获取原型
const prototype = app.config.globalProperties
// 绑定参数
prototype.name = 'My name is Jeremy'

app.use(router)
app.use(createPinia())
app.mount('#app')